package oop.java0408;

public class TVTest {
    public static void main(String[] args) {
        TV tv = new TV("纯黑",1999,100);
        Remote remote = new Remote(50,3,"纯黑");
        System.out.println(tv.toString());
        System.out.println(remote.toString());
        remote.controlTurnOn(tv);
        remote.controlExchange(tv,"CCTV5-体育");
        remote.controlTurnOff(tv);


    }
}
